package com.bfsuolframework.security.entity;

import com.bfsuolframework.core.entity.Entity;
import com.bfsuolframework.core.entity.EntitySupport;

/**
 * Created by andy on 2020/10/19.
 */
public class Privilege extends EntitySupport implements Entity {

    @Override
    public Long getId() {
        return this.id;
    }

    private Long id;
    private String privilegeTitle;//权限名称
    private String privilegeCode;//权限编码

    public void setId(Long id) {
        this.id = id;
    }

    public String getPrivilegeTitle() {
        return privilegeTitle;
    }

    public void setPrivilegeTitle(String privilegeTitle) {
        this.privilegeTitle = privilegeTitle;
    }

    public String getPrivilegeCode() {
        return privilegeCode;
    }

    public void setPrivilegeCode(String privilegeCode) {
        this.privilegeCode = privilegeCode;
    }
}
